package com.hxzy.dto.back;

import com.hxzy.common.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author wy
 * @Description TODO
 * @Date 2023/4/8 9:08
 * @Version 1.0
 */
@Getter
@Setter
@ToString
@ApiModel(value = "前端用户查询")
public class ContamerSearchDTO extends PageDTO {


    @ApiModelProperty(value = "账号")
    private String loginid;


    @ApiModelProperty(value = "昵称")
    private String userName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间(yyyy-MM-dd)")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间(yyyy-MM-dd)")
    private Date endTime;
}
